<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>添加订单</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="<%=basePath %>admin/lib/layui-v2.5.5/css/layui.css" media="all" />
    <link rel="stylesheet" href="<%=basePath %>admin/css/public.css" media="all" />
</head>
<body class="childrenBody">
<h2>添加订单</h2>
<p><span style="color: red">*</span>为必填项</p>
<form class="layui-form layui-form-pane" action="Javascript:void(0)">

    <div class="layui-form-item">
        <label class="layui-form-label"><span style="color: red">*</span>订单标题：</label>
        <div class="layui-input-block">
            <input type="text" name="orderTitle" lay-verify="required"  autocomplete="off" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label"><span style="color: red">*</span>关联客户：</label>
        <div class="layui-input-inline">
            <input type="text" name="relationCus" lay-verify="required" placeholder="请输入客户" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">关联商机：</label>
        <div class="layui-input-inline">
            <input type="text" name="relationBc"  autocomplete="off" class="layui-input">
        </div>
    </div>
<%--    关联产品--%>
    <div class="layui-form-item">
        <label class="layui-form-label">关联产品：</label>
        <div class="layui-input-inline">
            <input type="text" name="relationBc"  autocomplete="off" class="layui-input">
            <span>已添加产品记录10条</span>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label"><span style="color: red">*</span>订单总金额：</label>
        <div class="layui-input-inline">
            <input type="text" name="sumMoney" lay-verify="required" placeholder="请选择关联产品" autocomplete="off" class="layui-input">元
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">订单类型：</label>
        <div class="layui-input-inline">
            <input type="text" name="oType"  autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label"><span style="color: red">*</span>签单日期：</label>
        <div class="layui-input-inline">
            <input type="date" name="date" lay-verify="required" placeholder="选择日期 " autocomplete="off" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">开始日期：</label>
        <div class="layui-input-inline">
            <input type="date" name="sDate" lay-verify="required" placeholder="选择日期 " autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">到期日期：</label>
        <div class="layui-input-inline">
            <input type="date" name="eDate" lay-verify="required" placeholder="选择日期 " autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">客户签约人：</label>
        <div class="layui-input-inline">
            <input type="text" name="cusSign" lay-verify="required" placeholder="请输入 " autocomplete="off" class="layui-input">元
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">我方签约人：</label>
        <div class="layui-input-inline">
            <input type="text" name="meSign" lay-verify="required" placeholder="请输入 " autocomplete="off" class="layui-input">元
        </div>
    </div>
    <div class="layui-col-md6">
        <label class="layui-form-label"><span style="color: red">*</span>付款方式：</label>
        <select name="pay">
            <option value="">付款方式</option>
            <option value="1">对公账户</option>
            <option value="2">对私账户</option>
            <option value="3">现金</option>

        </select>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">上传附件：</label>
        <div class="layui-input-inline">
            <input type="file" name="uploadFlie" placeholder="选择附件 " autocomplete="off" class="layui-input"><br>
            <span>支持格式：.rar .zip .doc .docx .pdf,</span>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">上传附件：</label>
        <div class="layui-input-inline">
            <textarea name="remarks" placeholder="请输入备注信息" class="layui-textarea"></textarea>

        </div>
    </div>
<%--    --%>
    <div class="layui-form-item">
        <label class="layui-form-label"><span style="color: red">*</span>通知成员：</label>
        <div class="layui-input-inline">
            <input type="text" name="noticeMember" lay-verify="required" placeholder="请输入 " autocomplete="off" class="layui-input">元
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label"><span style="color: red">*</span>下次跟进：</label>
        <div class="layui-input-inline">
            <input type="date" name="nextFollow" lay-verify="required" placeholder="选择时间" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">跟进内容：</label>
        <div class="layui-input-inline">
            <input type="text" name="followContent"  placeholder="请输入跟进内容" autocomplete="off" class="layui-input">
        </div>
    </div>


    <div class="layui-form-item">
        <label class="layui-form-label"><span style="color: red">*</span>跟进人员：</label>
        <div class="layui-input-inline">
            <input type="text" name="followUser"  placeholder="请输入" autocomplete="off" class="layui-input">
        </div>
    </div>

    <div class="layui-col-md6">
        <label class="layui-form-label"><span style="color: red">*</span>跟进提醒：</label>
        <select name="task">

            <option value="1">准时提醒</option>
            <option value="2">提前5分钟</option>
            <option value="3">提前15分钟</option>
            <option value="4">提前30分钟</option>
            <option value="5">提前1小时</option>
            <option value="6">提前2小时</option>
            <option value="7">提前1天</option>
        </select>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">提醒方式：</label>
        <div class="layui-input-inline">
            <input type="checkbox" name="mess" checked autocomplete="off" class="layui-input">系统消息
            <input type="checkbox" name="mess" checked autocomplete="off" class="layui-input">邮件通知
            <input type="checkbox" name="mess" checked autocomplete="off" class="layui-input">短信通知
        </div>
    </div>

    <div class="layui-form-item">
        <button class="layui-btn layui-btn-fluid" id="tijiao" lay-filter="addUser">提交审批</button>
        <button class="layui-btn layui-btn-fluid"  lay-filter="addUser">保存订单</button>

    </div>
</form>
<script type="text/javascript" src="<%=basePath %>admin/lib/layui-v2.5.5/layui.js"></script>
<script type="text/javascript" src="<%=basePath %>admin/lib/jquery-3.4.1/jquery-3.4.1.min.js"></script>
<script type="text/javascript" src="<%=basePath %>admin/pagejs/system/user/addUser.js"></script>
</body>
</html>
